﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using System.Web.UI;
using System.Web.UI.WebControls;
using Royaumes_Libres;

namespace Royaumes_Libres.Database
{
    /// <summary>
    /// 
    /// </summary>
    /// <remarks>Patrick Chabot</remarks>
    public class cText
    {
        public static string GetText(string ID)
        {
            try
            {
                return HttpContext.GetGlobalResourceObject("Fr", ID).ToString();
            }
            catch (Exception ex)
            {
                return ID;
            }
        }
    }
}